<template>
    <div class="box">
       <div class="top">
           <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
            <el-menu-item index="1">基本信息</el-menu-item>
             <el-menu-item index="2">图片遍历</el-menu-item>
           </el-menu>

           <jibenxinxi :bb='aa' ></jibenxinxi>
       </div>
    </div>
</template>

<script>
import jibenxinxi from './jibenxinxi.vue';

export default {
  props:['aa'],
    data() {
      return {
        activeIndex: '1',
        activeIndex2: '1'
      };
    },
    methods: {
      handleSelect(key, keyPath) {
        // console.log(key, keyPath,555);
      }
    },
    components:{jibenxinxi}
  
};
</script>

<style lang="scss" scoped>
.box{
    margin-top: 30px;
    box-shadow: 0px 0px 10px #ddd;
}
</style>